package com.example.demo.mapper;

import com.example.demo.pojo.medicaluser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface LoginRegistermapper {
    @Select("select  * from medical_user where username=#{username} and password=#{password}")
    medicaluser login(String username,String password);
    void register(medicaluser medicaluser);
    @Select("select password from medical_user where username=#{username};")
    String getPassword(String userAccount);
    String selectpost(String username);


}
